<?php
/* Template Name: Introduction Page */

/**
 * Layout Hướng dẫn
 */
get_header();get_template_part('block', 'headerintroduction');
?>
    <section class="fix">
        <div class="layout">
            <div class="layout-left animated-area">
                <nav>
                    <ul class="nav-aside">
                        <?php
                            $posts_array = get_posts( array('post_status'=>'publish', 'post_type'=>'page', 'orderby'=>'menu_order', 'meta_key'=>'is_introduction', 'meta_value'=>1, 'suppress_filters'=>0) );
                            $postid = get_the_ID();
                            foreach($posts_array as $intr):
                        ?>
                            <li data-animation="fade-in-left" data-animation-delay="0.6s" data-animation-duration="1s" class="animated">
                                <a class="<?php echo ($intr->ID == $postid) ? 'active' : '' ?>" href="<?php echo get_permalink($intr->ID);?>" title=""><?php echo $intr->post_title;?></a>
                            </li>
                        <?php endforeach;?>
                    </ul>
                </nav>
            </div>
            <div class="layout-right">
                <article class="box-detail">
                    <h2 class="title"><?php the_title(); ?></h2>
                    <?php the_content('Read more...'); ?>
                </article>
            </div>
        </div>
    </section>
<?php get_template_part('block', 'faculty-hot'); /*danh sach giang vien noi bat*/?>
<?php get_footer(); ?>